<h2 class="headline"><?php echo $product['Product']['product_name']; ?>&nbsp;</h2>
<fieldset>
<legend></legend>
    <div class="one_product">
        <div class="product_image">
        <?php 
                if(is_null($product['Product']['image']) || $product['Product']['image']=="")
                    {$product['Product']['image']="nemletezik.jpg";}
        ?>
        <?php echo $html->image('product/'.$product['Product']['image']); ?></div>
        <div class="product_text"><?php echo nl2br($product['Product']['description']); ?>&nbsp;</div>
    </div>
</fieldset>

<?php if(!empty($product['Size'])): ?>
     <table>
        <tr>
            <th>Size</th>
            <th>Price</th>
            <th>Quantity</th>
            <th>Action</th>
        </tr>
        <?php foreach($product['Size'] as $size):?>
                <tr>
                    <td><?php echo $size['value']; ?></td>
                    <td><?php echo $size['price']; ?> €</td>
                    <td>
                        <?php 
                            echo $form->create("Product",array('action'=>'view/'.$product['Product']['id']));
                            echo $form->hidden("size_id",array('default'=>$size['id']));
                            echo $form->input("quantity",array('label'=>false)); 
                        ?>
                    </td>
                    <td><?php echo $form->end("Add to cart"); ?></td>
                </tr>
        <?php endforeach;?>
    </table>
<?php endif;?>